//
//  SubmitOrderContactInfoView.h
//  BaseProject
//
//  Created by 王洋 on 2020/7/28.
//  Copyright © 2020 王洋. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger, SubmitOrderContactInfoType) {
    //姓名
    SubmitOrderContactInfoType_name,
    //手机号
    SubmitOrderContactInfoType_phone,
    
    SubmitOrderContactInfoType_sertime
};

@interface SubmitOrderContactInfoView : UIView

@property (weak, nonatomic) IBOutlet UIView *bgView;

@property (weak, nonatomic) IBOutlet UIView *nameControl;

@property (weak, nonatomic) IBOutlet UIView *phoneControl;

@property (weak, nonatomic) IBOutlet UIView *serTimeControl;

@property (weak, nonatomic) IBOutlet NSLayoutConstraint *serControlHeight;

@property (weak, nonatomic) IBOutlet UITextField *nameTF;

@property (weak, nonatomic) IBOutlet UITextField *phoneTF;

@property (weak, nonatomic) IBOutlet UILabel *serviceTimeTitleLab;

@property (weak, nonatomic) IBOutlet UILabel *serviceTimeLab;


@property (nonatomic, copy) void(^SubmitOrderContactInfoBlock )(NSString * content, SubmitOrderContactInfoType type);


@end

NS_ASSUME_NONNULL_END
